<?php if(!defined('IN_PHPSCUP'))exit('hacking');  ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={$view_charset}" />
<base href="{$site_url}/">
<title>{$page_title}</title>

<link rel="shortcut icon" href="favicon.ico">
<meta name="keywords" content="{$page_keywords}" />
<meta name="Description" content="{$page_description}" />

<!--{css(style.css)}-->
<!--{js(jquery-1.4.2.min.js)}-->
<!--{js(js.js)}-->

<SCRIPT LANGUAGE='JavaScript' src='{$site_url}/?app=phpscup&act=ad&id=0'></SCRIPT>
</head>

<body>

  <!--{inc (top.view.html)}-->
<div id="page">
  <!--{inc (header.view.html)}-->
    <div id="main">
    	<div class="slide">
         <?php $num = 0; ?>            
        	<ul id="slide-box">


<!--{foreach($pic_data as $_key => $_value )}-->
<!--{if($_value.status)}-->
      <li <?php if($num == 0) { ?>  class="on" <?php } ?> ><a href="{$_value.images_link}" target="{$_value.images_target}"><img src="{$_value.images_url|picdir}" width="960" height="320" alt="{$_value.images_alt}" /></a></li>
      <?php $num ++ ; ?>
<!--{/if}-->      
    
<!--{/foreach}-->            
            </ul>
<?php $num = 0; ?>              
            <ul id="slide-triggers">
<!--{foreach($pic_data as $_key => $_value )}-->
<!--{if($_value.status)}-->
      <li  <?php if($num == 0) { ?>  class="on" <?php } ?> ><?php $_key = $_key + 1; echo $_key ; ?></li>
            <?php $num ++ ; ?>
<!--{/if}-->      
    
<!--{/foreach}-->              
            
            </ul>            

            
        </div>
        <div class="box">
            <div class="col">
                <div class="col-left">
                    <div class="col-left-title"><h2>{$lang.company_introduction}</h2></div>
                    <div class="col-left-content1"><p>{$lang.summary}</p></div>
                </div>
            </div>
            <div class="col">
                <div class="col-center">
                    <div class="col-center-title"><h2>{$lang.news_and_trends}</h2></div>
<!--
                    <div class="head-new">
                    	<a href="#" class="head-new-photo"><img src="images/14.png" /></a>
                        <div  class="head-new-title"><h3><a href="#" class="head-new-title">今日头条重大新闻</a></h3></div>
                        <p>今日头条重大新闻今日头条重大新闻</p>
                        <div class="head-new-more"><a href="#" class="more">Read&gt;&gt;</a></div>
                    </div>
-->
                    <ul class="new-list">                       
              <!--{foreach($data_index_new as $_key => $_value )}--> 
              <!--{if ($_value.title)}-->
              <li><a title="{$_value.title}"  href="<!--{url ('?app=new&act=show&id=$_value.id')}-->">{$_value.title|cutstr:20}</a><span>[{$_value.add_time|dateymd}]</span></li>
              <!--{/if}--> 
              <!--{/foreach}-->                         
                        
                    </ul>
                    <div class="new-list-more"><a href="<!--{url ('?app=new')}-->" class="more">{$lang.more}&gt;&gt;</a></div>
                </div>
            </div>
            <div class="col col-last">
                <div class="col-right">        
                    <div class="col-center-title"><h2>{$lang.latest_products}</h2></div>
                    <div class="recommend">               
                    	<div class="recommend-title"><h3></h3></div>
                        <div class="recommend-pro-list">
                        	<a id="move-left" href="#"></a>
                            <div id="recommend-scoll">
                                <ul id="recommend-pro-flow">
                                <?php $num = 0 ; $_key1 = 0 ; ?>
              <!--{foreach($data_reindex_prot as $_key => $_value )}--> 
                                 <?php $_key1 = $num + 1; ; ?>
                                              
                                    <li <?php if($_key==0) { ?> class="on"  <?php } ?> >
                                        <div class="recommend-pro-photo-left"><a href="<!--{url ('?app=prot&act=show&id={$data_index_prot.$_key.id}')}-->"><img width="110" height="135" src="{$data_reindex_prot.$_key.picurl|picdir}"  border="0" onerror="this.src='{$site_url}/data/images/nopic.gif'"></a></div>
									<?php if (isset($data_reindex_prot.$_key1.id)) { ?>	
                                        <div class="recommend-ppr"><a href="<!--{url ('?app=prot&act=show&id={$data_reindex_prot.$_key1.id}')}-->"><img width="110" height="135" src="{$data_reindex_prot.$_key1.picurl|picdir}"  border="0" onerror="this.src='{$site_url}/data/images/nopic.gif'"></a></div>
									<?php } ?>
                                    </li>
                 <?php $num = $num + 2 ; ?>
              
              <!--{/foreach}-->  
                                    
                                </ul>
                            </div>
                            <a id="move-right" href="#"></a>
                        </div>
                    </div>

                    <div class="pro-list">
                    	<ul>

              <!--{foreach($data_index_prot as $_key => $_value )}--> 
              <!--{if ($_value.title)}-->
                            <li>
                            	<div class="pro-list-photo"><a href="<!--{url ('?app=prot&act=show&id=$_value.id')}-->"><img width="80" height="80" src="{$_value.picurl|picdir}"  border="0" onerror="this.src='{$site_url}/data/images/nopic.gif'"></a></div>
                                <h4><a title="{$_value.title}"  href="<!--{url ('?app=prot&act=show&id=$_value.id')}-->">{$_value.title}</a></h4>
                                <p>{$_value.jianjie}</p>
                            </li>
              <!--{/if}--> 
              <!--{/foreach}-->                            
                          
                        </ul>
                        <div class="pro-list-more"><a href="<!--{url ('?app=prot')}-->" class="more">{$lang.more}&gt;&gt;</a></div>
                    </div>                    
                    
                </div>
            </div>
        </div>
    </div>
  <!--{inc (footer.view.html)}-->
</div>
</body>
</html>

